<template>
  <div id="app">
    <div id="nav">
      <!--      <router-link to="/">Home</router-link> |-->
      <!--      <router-link to="/about">About</router-link>-->
      <clock size="70px" style="margin-right: 20%;margin-top: 0px"></clock>
      <span id="title" style="font-size: x-large;font-weight :600;width: 100px ;margin-right: 20px">外卖后台管理系统</span>


    </div>
    <router-view/>
  </div>
</template>

<script>
import Clock from 'vue-clock2';

export default {
  components: {Clock},

}

</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  color: #2c3e50;
}

#nav {
  padding: 30px;
  height: 70px;
  background-color: orange;
  margin: -7px -7px -0px -7px;
  border: black solid 4px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }

  title {
    font-size: 30px;
  }
}
</style>
